.container {
  background-color: #f7f6ff;
  > image {
    width: 100%;
    height: 300px;
  }

  // 展示题目的头部
  .header {
    margin: 20px 0;
    padding: 48px 0 40px 0;
    text-align: center;
    background-color: #fff;
    // 展示标题信息
    > text {
      color: #333;
      font-weight: bold;
      font-size: 36px;
    }
    > view {
      margin-top: 24px;
      margin-bottom: 40px;
      // 展示统计数据
      &:nth-of-type(1) {
        > text {
          color: #999;
          font-weight: bold;
          font-size: 20px;
        }
      }
      // 展示标签
      &:nth-of-type(2) {
        display: flex;
        align-items: center;
        justify-content: center;
        > view {
          display: flex;
          align-items: center;
          padding: 8px;
          background-color: #f7f6ff;
          border-radius: 24px;
          &:not(:last-child) {
            margin-right: 16px;
          }
          > view {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            margin-right: 8px;
            background-color: #f9e00f;
            border-radius: 50%;
            > text {
              color: #333;
              font-size: 28px;
            }
          }
          > text {
            color: #333;
            font-size: 24px;
          }
        }
      }
    }
  }

  // 展示测评介绍的内容
  .content {
    padding-bottom: 140px;
    background-color: #fff;
    // 展示公共的头部样式
    .contentHeader {
      position: relative;
      padding: 40px 0;
      text-align: center;
      > view {
        &:nth-of-type(1) {
          position: absolute;
          top: 62px;
          right: 0;
          left: 0;
          z-index: 2;
          width: 496px;
          margin: 0 auto;
          border-top: 1px solid rgba(51, 51, 51, 0.2);
        }
        &:nth-of-type(2) {
          position: relative;
          z-index: 3;
          display: inline-block;
          padding: 0 64px;
          background-color: #fff;
          > text {
            color: #333;
            font-weight: bold;
            font-size: 32px;
          }
        }
      }
    }
    > view {
      // 最后一个内容展示的元素样式
      > view:last-child {
        padding: 0 48px;
        color: #999;
        font-size: 28px;
        :global(p) {
          min-height: 20px;
        }
        > text {
          color: #999;
          font-size: 28px;
        }
      }
    }
  }

  // 展示底部的收藏以及购买按钮
  .footer {
    position: fixed;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 96px);
    padding: 16px 48px;
    background-color: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.08);
    > button {
      width: 508px;
      height: 100px;
      margin: 0;
      line-height: 100px;
      background-color: #f7d314;
      border-radius: 50px;
      &::after,
      &::before {
        border: none;
      }
    }
    // 控制图标展示的样式
    > view {
      text-align: center;
      > text {
        display: block;
        &:last-child {
          font-weight: bold;
          font-size: 24px;
        }
      }
    }
    // 控制图标的展示样式
    .checked {
      > text {
        color: #866dd8;
      }
    }
    .unChecked {
      > text {
        color: #333;
      }
    }
  }
}
